package Test03;

/**
 * 医生类
 */
public  class Doctor extends People implements Treat{
    public Doctor(String kind, String name, int level,String enemy) {
        super(kind, name, level,enemy);
    }

    @Override
    public void treat() {
        System.out.println("Lv" + this.getLevel()+ "的" +this.getKind() + this.getName() + "对"
                + this.getEnemy() + "使用了治疗");
    }

    @Override
    public void intor() {
        super.intor();
    }
}
